#ifndef KRECT_H
#define KRECT_H

#include <QGraphicsRectItem>
#include "idraw.h"

class KRect
    : public IDraw, public QGraphicsRectItem
{
public:
    KRect();
public:
    virtual void OnLButtonDown(QGraphicsSceneMouseEvent *event);
    virtual void OnLButtonDblClk(QGraphicsSceneMouseEvent *event);
    virtual void OnLButtonUp(QGraphicsSceneMouseEvent *event);
    virtual void OnMouseMove(QGraphicsSceneMouseEvent *event);
    virtual void OnEditProperties();
    virtual void OnCancel();
};

#endif // KRECT_H
